package com.toune.villager.adapter

import android.annotation.SuppressLint
import android.graphics.Color
import android.os.Build
import androidx.annotation.RequiresApi
import com.chad.library.adapter.base.BaseMultiItemQuickAdapter
import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder
import com.toune.villager.R
import com.toune.villager.bean.GoodsTypeBean

class GoodsSubTypeAdapter(layoutResId: Int, data: MutableList<GoodsTypeBean.RowsBean.DlGoodsSubTypeListBean>?) :
    BaseQuickAdapter<GoodsTypeBean.RowsBean.DlGoodsSubTypeListBean, BaseViewHolder>(layoutResId, data) {
    override fun convert(holder: BaseViewHolder, item: GoodsTypeBean.RowsBean.DlGoodsSubTypeListBean) {
        holder.setText(R.id.nameTv, item.name)
    }

}
